fixed typo in view.py