delete error in TestDlg