fixed bad xor logic :(