fix the end event