Fixed iterator declaration, it built in studio, but not using
command-line.