remove references to extracted