avl lookup fix