remove useless iteration