fixing edgar scraping bug