fix red black tree