fix css formatting creation