delete unuseful document