fix for numeric coefficients being parsed as strings