Fixing syntax error in views.