revert failed case