diff --git a/src/main.js b/src/main.js
index db1e7fbb338d5054f8df955a811f25db4c58aeb1..1c25aa379ca7c36bf93c058b0468dcbdfe36f18a 100644
--- a/src/main.js
+++ b/src/main.js
@@ -46,7 +46,7 @@ function App() {
 
       appState.addConnection(filter.id, {
         pipeId: pipe.id,
-        pipeType: pipe.textContent.replace(/\s+/g, "").split(`"`)[0],
+        pipeType: pipe.textContent.replace(/\s+/g, "").slice(0, 5),
       });
 
       return true;