Fixed endianness issue.