Fixed hardcoding in mf.cc

Fixed hardcoding in mf.cc