Fixed client side event callback issue.