handle error case in scraper