Math error in price calculation