refactor SlugRouter