delete some useless parts