delete some unnecessary styles