fixed fft/ifft bug