fixed up 0x*a bug