fixed problem with search on homepage