fix import errors in last version of jinja