fix the fix-ids command, add delete-all command