fixed jinja2 issue with nicknames