remove main route from tree