fix searchCriteria and upgrade version