fix css generation