remove the invoice hack