bug in new event creation