Fix broken parity switch