fixed up check condition on cam a and cam b selection