bug fix of add to cart