diff --git a/woman/main_functions.py b/woman/main_functions.py
index c291b604f405a5430f1772e051d61c4d175c037d..39885af994d0650cc5e199fd216f0097876e4380 100644
--- a/woman/main_functions.py
+++ b/woman/main_functions.py
@@ -113,10 +113,9 @@ def mf_goto_workspace(params):
 
 @main_function(["swap-with-workspace", "s"], std_parser, "Swap current workspace with specified workspace.")
 def mf_swap_with_workspace(params):
-    n_master, n_slave = params_workspace(params)
     current = shared.workspace_on[shared.output]
-    print(current)
     if current != (None, None) and current != GUI_WORKSPACE:
+        n_master, n_slave = params_workspace(params)
         swap_workspace(n_master, n_slave, *current)
 
 @main_function(["gui"], [], "Show grafic user interface (only if you start daemon with `-g` option).")