fix bug in AVL tree algorithm!