Fix DAC output bug