fix searchCriteria