fixed some DAQ bugs