fixed a bit
getting event ids from events_controller