fix to fftw script