revert change to api