Make the document right.