fix endian compile macro
fix array size bug:(