fix ok comparator