making sure search is loading