Fix number of events.