How to correct defect in casting