hopefully fix bad assert for wav files