corrected error in view.py