removing unneeded styles