Extraction exception bug fix