[api] fix typo and by it issue 567