Fixing scraper bug