spectrogram fixes