search criteria fix