diff --git a/machine/index.js b/machine/index.js
index 66b3c8160009e8eaec859f5010fae3d695ba8495..3a88da93f6007a8e4c0fb7b56b26da5ffa1cc0bc 100644
--- a/machine/index.js
+++ b/machine/index.js
@@ -168,7 +168,8 @@ socket.on("message", function(message, rinfo) {
 
   if (text[0] === "leave") {
     const deletedConnection = Object.keys(connections).filter(c => c.toString()[0] === text[1]);
-    console.log(deletedConnection + "left")
+    console.log(text[1] + "left")
+    console.log(deletedConnection)
 
     if (deletedConnection.length > 0) {
       delete connections[deletedConnection[0]]