bug scrape code for Ray