remove useless things.