emit events on the app instead of the handler