Fixed a problem in the extraction