revert some api changes