fixed bug in speech finished for robot