made it possible to pass null arguments to an event handler