fixed error in audio input