Change the threshold value to twice the rms