fastbill invoice class cast exception fix