fix mode_b optimisation with compares