remove useless exchanges