bring back master into patch unapplied state