diff --git a/searx/templates/pix-art/preferences.html b/searx/templates/pix-art/preferences.html
index 0caf31b46..f59497ec8 100644
--- a/searx/templates/pix-art/preferences.html
+++ b/searx/templates/pix-art/preferences.html
@@ -53,8 +53,8 @@
{{ _('Engine name') }} |
{{ _('Allow') }} / {{ _('Block') }} |
- {% for (categ,search_engines) in categs %}
- {% for search_engine in search_engines %}
+ {% for categ in all_categories %}
+ {% for search_engine in engines_by_category[categ] %}
{% if not search_engine.private %}