[api] fix my refactoring
test travis