Fix some bug

Modified views.py