fixed parsing of hex literals