BUGFIX: typo caused ba c&p in bit-op xor