fix events_controller