cleanup in onset, peakpick