Fix SlugRouter construct given variable