fixed SNR figure problem