defect prevention casting