Fixed tree.default error