fix error parsing numerical categories