delete useless document