make the gets() more stable
fix the data endian