Bug fix in scraper