fixing jinja unicode issue