Temporary fix for gauge numbers not being set properly

See issue #34