clear cart works properly