optimize styles a little