tr bugfix documentsview