invoices fix