compare code13 fix check method