Applied patch to tvi module to fix warnings on term page.