On the smoothness of Levi-foliations