remove unused comparator