Save minfor cleanup before real work to fix CG.