Effect of the pigmy resonance on the calculations of the neutron capture cross section