FIX: xcorr criterion for bad_channels