fix flags for sbc and adc