improved scraper title sanitization