fix domain controller bug