fix recognize headset bugs