fixed Databaseconnection