fixed BinaryTree lookup