rename element tree-result to treeResult