Fix bswap register.