fix app/view.py