correct some WhGauge errors