bug fix in styles