minor tweaks to get ecommerce working