cleaned bpxor and bpparity