remove some print and change m_type of vale when needed