fixes for gauges