Delete event bug fixed