Fix urls in document.