Missing dependency for events

there is a call to event() in controller. Needed this dep. to make it work standalone