delete unused routes.