Number of endianness errors fixed