fixed bug with creating the css