fix iteration number