fixed the line item quantity calcule #3164