fix inverse Fourier transform