Fixed a bug of the cart badge