[api] remove duplicated functions (rebase bug)