fixed bug in bin selection for baseband readout