deleteEvent to fix.