Fixed adding new event.