fix delegate_to for jinja