protected function fixSlug($slug)
    {
        $parts = explode('/', $slug);
        $slug = '';
        foreach ($parts as $part) {
            if ($part) {
                $slug .= '/'.str_slug($part);
            }
        }

        return strtolower('/'.ltrim($slug, '/'));
    }