bugfix in cart