fix memory bug in the situation no iterate occurs
allows printing a message at the start of progress