first cleanup iteration