remove some unuseful things.