Fix bug: can not save audio file