fix up extract-efg