remove duplicate comparator