view_tree not only in prod