fixed empty invoices