fixed some styles to work better with locastyle 3.0.1