remove unneeded styles