fix searchcriteria