event comparator fix