fix bug in item invoice_items method