delete useless code