Fixing type of endian