fix(tree): throws a typeerror when path is not accepted
fix(tree): throws a typeerror when path is not accepted

kublaj/explorer,soyuka/explorer,kublaj/explorer,soyuka/explorer,Eric013/explorer,Eric013/explorer,soyuka/explorer,Eric013/explorer,kublaj/explorer