total price cal bugfix