get rid of unnecessary styles