add to cart bug fix