delete the useless code.