fixup rbtree bug.
update rbtree example