fixed failed revert