removes patch file