fix for me forgetting that m_debug is important