fix not to go to too low thresholds