fix Comparator