diff --git a/bot.php b/bot.php
index eefaafd..c660a43 100644
--- a/bot.php
+++ b/bot.php
@@ -60,13 +60,13 @@
 function short_code($code){
     $fixedCode = substr($code, 0, 2);
     $fixedCode .= "0";
-    $fixedCode .= substr($code, 2);
+    $fixedCode .= substr($code, 2,1);
     $fixedCode .= substr($code, 4, 4);
-    $fixedCode .= substr($code, 3);
-    $fixedCode .= substr($code, 8);
+    $fixedCode .= substr($code, 3,1);
+    $fixedCode .= substr($code, 8,1);
     $fixedCode .= substr($code, 10, 6);
-    $fixedCode .= substr($code, 9);
-    $fixedCode .= substr($code, 16, strlen($code));
+    $fixedCode .= substr($code, 9,1);
+    $fixedCode .= substr($code, 16, 16);
     return $fixedCode;
 }
 function get_stats_connected(){