fixed detection thresholds again