comparator fixed