fixed the bug of title slug