endianness fix noncoresec
endianness fix coresec