fix core from federated search and m_r being null