fix unaligned load code