error fix for total price