diff --git a/helper_script.sh b/helper_script.sh
index fdcaaadf458bd3956595f1c5a6ee7d134cbbc54b..d538588702beb93c57c1887763a0a9d2fa19d529 100644
--- a/helper_script.sh
+++ b/helper_script.sh
@@ -6,7 +6,7 @@
 function cd() {
 
   # Check if .venv folder exists in path to final location.
-  local cd_string=$1
+  local cd_string=$@
   local cd_path=""
   local checked_current=false
 
@@ -62,7 +62,7 @@ function cd() {
 
 
   # Execute normal cd command.
-  builtin cd $1
+  builtin cd "$cd_string"
 
 
   # Check for .venv folder in new directory.