simple fixes lost in the materials branch
there is no is_closed? method for carts