fix base api class
Merge branch 'master' into releases