Fixed bug increation of events.