fix event targets and event cancelation.