Fixed the shift in ADC