small fix in templatetags