fix in thresholds