Fixed result not defined in the event_list