bugfixes for the spectrum analyzer mode