fix EventsController