batch invoices fix