fixed jinja2 template syntax (Closes #17)