removing uneeded styles