fix for unaligned read indexes 2