fix exception when streaming audio