diff --git a/knowledge-space.php b/knowledge-space.php
index a05a283199b4e022cd0c5834be876614024440c7..e1777374745c6d07d15f10142a3cfc538714be02 100644
--- a/knowledge-space.php
+++ b/knowledge-space.php
@@ -27,7 +27,6 @@ function ks_add_graph($atts = []): string
     wp_localize_script("ks-display-js", "space", array('id' => $space_id));
     wp_localize_script("ks-display-js", "plugin", array('path' => $plugin_dir));
 
-    echo $div . $variables;
     return $div . $variables;
     // return $div . $variables . $script;
 }