fix hexadecimal number parsing?