init m_flags in constructor