fix slugify tool bug