view.py bug fixed.