Fixed some jinja stuff