Fixes to local context
Minor fix to cart module