adjust duplication generation in cart