improve DAC error detection