fix negative gauge