revert checkout