connection to database will be fixed