fix broken Max gauge