revert checking