fixup bswap