fixed the invoice view