fix gettree/1