corrected end event