delete useless code lines