Bug fixes in fftop and ifftop method