fix invoices