changed invoice_controller