diff --git a/src/bw/loading/index.html b/src/bw/loading/index.html
index 1ab7fa5ea..4b37a8c54 100644
--- a/src/bw/loading/index.html
+++ b/src/bw/loading/index.html
@@ -346,7 +346,7 @@
This website is protected with
BunkerWeb
diff --git a/src/common/core/misc/files/default.html b/src/common/core/misc/files/default.html
index edbf239ea..70a9f2cff 100644
--- a/src/common/core/misc/files/default.html
+++ b/src/common/core/misc/files/default.html
@@ -251,7 +251,7 @@
This website is protected with
BunkerWeb
diff --git a/src/ui/templates/setup.html b/src/ui/templates/setup.html
index a2191241b..29ac4b959 100644
--- a/src/ui/templates/setup.html
+++ b/src/ui/templates/setup.html
@@ -593,7 +593,7 @@
// send form and wait for response
- const api = `http${
+ let api = `http${
this.sslCheck.getAttribute("data-checked") === "true" ? "s" : ""
}://${this.servInp.value}${this.urlInp.value}`;
if (!api.endsWith("/")) {