Unable to register invoices

Hello all,

I’ve installed ERP next foundation on server, I was able to add the items and the chart of accounts and the price list. now I’m trying to register invoices. and I get error that it’s duplicated invoice number tried to reset, still the same, and I’m not able to delete the old invoices even it has not been registered and it’s not even saved in draft status.

any guesses?