cleanup iteration