fix new document view