Fixed a bug in documents.