minor tweak to views.py