bugfix invoices numbering