delete unused document.