error message when I'm setting thresholds