fixed getSubnodesByTree