diff --git a/install b/install
index a37123ad49c468226b33810504859944151af988..a9a1c28e19ca8543f66b47bd61f2c70ff44b61f2 100755
--- a/install
+++ b/install
@@ -38,7 +38,7 @@ upgrade_openfpm=0
 gpu_support=0
 no_lin=0
 
-while getopts di:smghc:nul FLAG; do
+while getopts div:smghc:nul FLAG; do
 	case $FLAG in
 	    d)
 	      echo "Disable depencencies installation"
@@ -79,6 +79,7 @@ while getopts di:smghc:nul FLAG; do
             v)
               echo "Relocating openfpm_vars file $OPTARG"
               VARS_FILE_LOCATION=$OPTARG
+              ;;
 	    h)  #show help
       	  HELP
           ;;