change fold impl on event