fix bugs in LLRB tree