fix slugify method