fix search criteria