Fixed misnamed delete event function