delete the useless code