OMG i fixed the error + redid the search so that we could do advance search