rectify bug in thumb scraper