added getTreeNode for check the data of root