fix unseen iterations bug