workaround for issue #863, pass in the actual event type to event listeners