add null check on scrape