fixed errors in meta-tree
fixed errors in rbtree