delete useless code.