Custom Event with param

FIX a crash when receving a custom event with param