fixing html totals prices issues