solved bug in tree iter