make event callback have same API style.