proper parity check