diff --git a/templates/profile.html b/templates/profile.html
index db10a27e..ed57a853 100644
--- a/templates/profile.html
+++ b/templates/profile.html
@@ -18,7 +18,9 @@
Profilo di {{ royal.username }} {% if session.get('user_id', '') == royal.id %}Modifica{% endif %}
- {% include "minis/ryg.html" %}
+ {% with record = ryg %}
+ {% include "minis/ryg.html" %}
+ {% endwith %}
{% if steam %}
{% with record = steam %}
{% include "minis/steam.html" %}