correct a document for application development