Fix waveform readout sign issue