Fix hex values being converted to numbers