patch make_recovery_patch