[api] Fix a bug for new reply