fix document's urls