delete some useless code