revert ref