Fix for null call in runEvent()