Repair broken extract routine