try to replace native client
refactor work finished.