fixing mistype from stft to mag