Fix vector iterator