implemented mm.tmp save see #354