fix for empty slugs