trying to handle the case where a typo has too short of a name
fixed the problem of having a gage number outside the range of acceptable gage numbers