Correct gauges code