revert check