fixed regression in $event->application