fixed misalignment for 32 bit architectures