removes duplicate style