diff --git a/app/Pusher.php b/app/Pusher.php
index eaf5ef7..afce82f 100644
--- a/app/Pusher.php
+++ b/app/Pusher.php
@@ -75,10 +75,14 @@ class Pusher
                                 if (count($arr) == 2) {
                                     $resp['payload']['choices']['tts_text'] = $text . $arr[0];
                                     unset($arr[0]);
-                                    if (count($arr) > 0) {
-                                        foreach ($arr as $k => $v) {
-                                            $text .= $v;
-                                        }
+                                    $tt='';
+                                    $pattern = "/[,.?!;:]/";
+
+                                    foreach ($arr as $k => $v) {
+                                        $tt .= $v;
+                                    }
+                                    if ($tt!=''||preg_match($pattern, $tt)) {
+                                        $text.=$tt;
                                     } else {
                                         $text = '';
                                     }
@@ -92,7 +96,17 @@ class Pusher
                             }
                             $connection->send($response);
                         } else {
-                            $resp['payload']['choices']['tts_text'] = $text.$resp['payload']['choices']['text'][0]['content'];
+                            $a=$resp['payload']['choices']['text'][0]['content'];
+                            if(strlen($a)>0){
+                                $pattern = "/[,.?!;:]/";
+                                if (preg_match($pattern, $a)) {
+                                    $resp['payload']['choices']['tts_text'] = $text;
+                                } else {
+                                    $resp['payload']['choices']['tts_text'] = $text.$a;
+                                }
+                            }else{
+                                $resp['payload']['choices']['tts_text'] = $text.$a;
+                            }
                             $text = '';
                             $response = json_encode($resp, true);