remove useless code in Gauge.determine()