diff --git a/src/common/optparser.py b/src/common/optparser.py
index 816c9416268e0b71d96533b564ee9b1c6059e945..d73c76e70e7ac6fb08668ae91131503051d9777b 100644
--- a/src/common/optparser.py
+++ b/src/common/optparser.py
@@ -44,7 +44,7 @@ class OptionsParser:
 		try:
 			fd = open(self.__filename)
 		except:
-			print "error: cannot open %s\n" % (self.__filename)
+			print "error: cannot open %s for reading\n" % (self.__filename)
 			return
 
 		for line in fd.readlines():
@@ -68,7 +68,7 @@ class OptionsParser:
 		try:
 			fd = open(self.__filename, 'w')
 		except:
-			print "error: cannot open %s\n" % (self.__filename)
+			print "error: cannot open %s for writing\n" % (self.__filename)
 			return
 		gajim.config.foreach(self.write_line, fd)
 		fd.close()
diff --git a/src/gajim.py b/src/gajim.py
index 6daf320d8b51841464420df1f13e3f6c84ef3fc8..fb8e21f84f5174d2ab7ffef387a70d79b44eef51 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -644,6 +644,9 @@ class Interface:
 			'statusmsgcolor': gajim.config.get('statusmsgcolor'),
 		}
 		parser.read()
+		
+		#create the config
+		self.save_config()
 
 		for account in gajim.config.get_per('accounts'):
 			gajim.connections[account] = common.connection.Connection(account)