Fixed reversal of CH_A and CH_B definition