fixed bug where tts conversion would some times crash the entire app