delete event bug fixed