fixed xor calculation on java