remove unnecessary styles