Fixed bug when scraping current class.