trying to fix text_generator routes