comparator tweak