default-comparator fix