Fix illegal number error message