fix the data endian