fix unaligned reads