fixed the enum scraping