guard against stupid gauge value types