bug fix on scraper agent