restore route type after running error route