fixed some things on view.py