removing unnecessary styles