It is desirable that the nickel silicide layer 103 is previously etched and removed with chemicals such as hydrofluoric acid prior to an Ni gettering process which will be conducted succeedingly, because the nickel silicide layer 103 contains Ni elements at a high concentration.