Fixed endian order issue