corrections to main adc