change to AVL to fix overload
AVL change with error