small fixes in comparator