fix root_tree undefined method error