remove peakdetect