fix the audio view function