fix discard defect