core: m_stats fix because of folsom api change