Fixing error in iterator config