diff --git a/templates/md.html b/templates/md.html
index df5ce9d..370b4e7 100644
--- a/templates/md.html
+++ b/templates/md.html
@@ -137,7 +137,7 @@
{% for mate in tipp_mates %}
- | {{ mate.mate }} |
+ {{ mate.mate.first_name }} |
{{ mate.sum_score }} |
{% for tipp in mate.tipps %}
{{ tipp }} |
diff --git a/tipp/views.py b/tipp/views.py
index 58e50a8..797a8b3 100644
--- a/tipp/views.py
+++ b/tipp/views.py
@@ -286,12 +286,12 @@ def matchday(request, ls, season, matchday, template_name='md.html'):
"""filter duplicates """
d = False
for item in tipp_mates:
- if r.user.first_name == item['mate']:
+ if r.user == item['mate']:
d = True
if d is False:
tipp_mates.append({
- 'mate': r.user.first_name,
+ 'mate': r.user,
'tipps': [],
'sum_score': 0
})