delete unuseful infornations