diff --git a/qasim/map.rb b/qasim/map.rb
index 926e1bf..b2dd843 100644
--- a/qasim/map.rb
+++ b/qasim/map.rb
@@ -143,8 +143,8 @@ module Qasim
 			#
 			# FIXME: test connexion with Net::SSH + timeout or ask password
 			@links.each do |name, remotepath|
-				FileUtils.mkdir_p localpath
 				localpath = File.join ENV['HOME'], "mnt", name
+				FileUtils.mkdir_p localpath
 				cmd = "sshfs"
 				cmd_args = [
 					"-o","allow_root" ,