fixed the variable names from itr to  _iter in view.py