fix shopping cart error