fix set event issue.