fix delete invoice