(Apple) Fix do_iteration