diff --git a/build_pdata.sh b/build_pdata.sh
index e6e5c8b302d649148c2da8c2b595917fefb8fa02..c30929bbf3f0eabce7595d85d1a6b2326ba5e4a9 100644
--- a/build_pdata.sh
+++ b/build_pdata.sh
@@ -19,8 +19,6 @@ if [ $? -ne 0 ]; then
   exit 1
 fi
 
-pwd
-ls
 # pull from all the projects
 cd openfpm_data
 git pull origin develop
diff --git a/install b/install
index b7532614e6e18dddccbd19c3fe01d4b663c8d2d2..aed9bbdf7fe001f5ed44406ec83947f561b298eb 100755
--- a/install
+++ b/install
@@ -107,7 +107,7 @@ fi
 
 ## if a new compiler has been installed reinstall all the dependencies
 
-if [ x"compiler_opt" != "" ]; then
+if [ x"$compiler_opt" != "" ]; then
   ./script/install_MPI.sh $i_dir $compiler_opt
   export PATH="$PATH:$i_dir/MPI/bin"
   configure_options="$configure_options CXX=mpic++  "