Revert patches