Fix error on example iteration