fixed view in controller.py