Fix public comparator