fixed revert-patches