fixed adc issue