fixin bug with range parameter for waveforms