some api changes for local client