functions for checking if symbols should be interpretted as numbers instead
when a symbol is complete check if it was actually a number
fix error for invalid symbol character