fixes to new_mf
Merge pull request #454 from jhofman/master

fixes to new_mf