bugfixes for fft.xtm (and xtm.xtm)