remove awkward style setting code