fixing errors in displaying total_price