fixed bugs in new DataTree module