Fix unaligned local variable caused crash