fixed bug in voice recognition