clear the document