merge duplicate style