fixing the speech rec for a demo