On the theory of scattering by complex potentials