fixed invoiceController