added grid and defect to contour plot