subtotal works for cart but is unformated