inventory, production, resource TEXT fixes