fix whitener thresholds