delete event working