fix multiple percent thresholds