fixed error in views.waste