fix rbtree nulls