delete some useless codes