Fix comparator binding