fixing error in views for searchtest.html