Fix array and loadstor, endianness