fixed not inited vars in mprof