More endian fixes in the registry