fixed error in css generation