fix to exclude not exist document.