diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index 2eeff5b2c3a9f13dbc9888e22bc05cb18a4a02ef..e6bb1deb771e684d1024d19eac6d77c7dd7a57a3 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -351,7 +351,7 @@ class ConnectionBytestream:
 		file_props['hash'] = hash_id
 		return
 
-	def _connect_error(self, to, _id, sid, code = 404):
+	def _connect_error(self, to, _id, sid, code=404):
 		''' cb, when there is an error establishing BS connection, or
 		when connection is rejected'''
 		if not self.connection or self.connected < 2:
diff --git a/src/roster_window.py b/src/roster_window.py
index 63d334571b0110c1bc76f2f775becdb847a45f13..2d1fa4e4a6ef3c99d7be298b438e0aa8ba319cde 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2396,7 +2396,7 @@ class RosterWindow:
 			else: # user is running svn
 				helpers.exec_command('%s history_manager.py' % sys.executable)
 		else: # Unix user
-			helpers.exec_command('%s history_manager.py &' % sys.executable)
+			helpers.exec_command('%s history_manager.py' % sys.executable)
 
 	def on_info(self, widget, contact, account):
 		'''Call vcard_information_window class to display contact's information'''