diff --git a/ESP32_SpeechRecognition.html b/ESP32_SpeechRecognition.html
index 40aa00e7ce..bb8a48c149 100644
--- a/ESP32_SpeechRecognition.html
+++ b/ESP32_SpeechRecognition.html
@@ -148,7 +148,7 @@
recognition.lang="en-US";
else
recognition.lang=language;
- if (checkbox!="true")
+ if (checkbox=="false")
document.getElementById("chk").checked = false;
if (!recognizing) startButton(event);