search working on homepages and queries page