disable dlg and mutex temporarily