diff --git a/patch-control.sh b/patch-control.sh
index 98dbb473999c40d68d8ceddcf3bdcd72458e5776..2c399869d41a9509f9c91e36e74064510feb02f1 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -100,7 +100,7 @@ while [ 1 ]; do
                    $(createList ${folder})`
 
   if [ -z "${rs_file}" ]; then
-    zenity --error  --text="No Run Setup file selectet, aborting"
+    zenity --error  --text="No Run Setup file selected, aborting"
     exit -1
   fi
 
@@ -114,7 +114,7 @@ while [ 1 ]; do
                        --column="Minutes" \
                        FALSE Cancel FALSE 5 TRUE 10 FALSE 20`
 
-  if [ "$run_duration" == "Cancel" ]; then
+  if [ "${run_duration}" == "Cancel" ]; then
     break
   fi