fixed binary tree iterator bug