Fix revert patch