correct transition end events