fix delete, fix autocheck