fix views.py file