diff --git a/installer2.html b/installer2.html
index 9fc680c..bb20954 100644
--- a/installer2.html
+++ b/installer2.html
@@ -208,7 +208,7 @@
PedalinoMiniā¢ Installer
versionSelect.disabled = false;
const button = document.querySelector('esp-web-install-button');
- button.manifest = versions[0].value;
+ button.manifest = versionSelect.options[0].value;
statusMessage.textContent = "Scanning completed.";
} else {
statusMessage.textContent = "No firmware files found for the selected board.";