fix document.