[api] Fix bug in org event