make rbt neat and clear