Fixes the fire function for events with additional parameters