fixes to cart and parsers