modified deleting of an event