fixes on the document viewers