diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index 9edbad70..0e1c21e2 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -126,7 +126,9 @@
{{ i18n "pages.index.xrayStatus" }}
- v[[ status.xray.version ]]
+
+ v[[ status.xray.version ]]
+
@@ -156,7 +158,9 @@
- v[[ status.xray.version ]]
+
+ [[ status.xray.version != 'Unknown' ? `v${status.xray.version}` : '{{ i18n "pages.index.xraySwitch" }}' ]]
+