fix subtotal