fixed bug in styles