remove leave and rename xml
terminate end event