Corrected team m_name generation bug