Fixed event_del error