fix collection comparator