removed deprecated jinja function