fixing cart, layout, index coding