make sure search button works