customSlug function makeover