Fix defect import