fix audio playback crash