fixed AVL balancing