fix audio webcam bug in the termination