diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml
index 0e0d7487222e1cbe56ffd7fe4c10682eb4a79e5b..ec7a87d25295fd3284589152120263b6204b183a 100644
--- a/.docker/docker-compose.yml
+++ b/.docker/docker-compose.yml
@@ -278,7 +278,7 @@ services:
     environment:
       NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}"
       NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}"
-      NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files"
+      NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files/"
     depends_on:
       dbrepo-search-service:
         condition: service_started
diff --git a/dbrepo-search-service/init/app.py b/dbrepo-search-service/init/app.py
index 450575ba090c445e030c60464a68f820f79b173b..24cc3f73bbc36c11943bd1069ec1a437535df2b5 100644
--- a/dbrepo-search-service/init/app.py
+++ b/dbrepo-search-service/init/app.py
@@ -105,7 +105,7 @@ class App:
         logging.debug(f"fetching database from endpoint: {self.metadata_service_endpoint}")
         client = RestClient(endpoint=self.metadata_service_endpoint)
         databases = []
-        for database, index in client.get_databases():
+        for index, database in enumerate(client.get_databases()):
             logging.debug(f"fetching database {index}/{len(databases)} details for database id: {database.id}")
             databases.append(client.get_database(database_id=database.id))
         logging.debug(f"fetched {len(databases)} database(s)")