fixed last patch to make 'tview' work again