handle x86 location issue