Removing unneeded overlayed styles