rework m_strformat so that it takes the cols number to use in case of