fix m_node reference in domdocument.