remove redundant styles