As the etching stop layer 3 located under the phase shift pattern 6 is substantially immune to the etching, the layer 3 remains intact.
A defect-free phase shift pattern 6 is formed in place of the defective phase shift pattern.