updates css and fixed bug