diff --git a/searx/templates/simple/404.html b/searx/templates/simple/404.html
index 1843c9892..11d604313 100644
--- a/searx/templates/simple/404.html
+++ b/searx/templates/simple/404.html
@@ -3,7 +3,7 @@
{{ _('Page not found') }}
{% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}
+
{{ _('Go to %(search_page)s.', search_page=unicode('{}').format(url_for('index'), _('search page'))) }}
{% endautoescape %}
{% endblock %}