fix bugs with missing styles