revert api changes