fix unaligned read