Unaligned memory access rcrash fix