Fix error in css generation