endianness fix noncoresec