comparator small fix