fixed an issue of Kerberos Mode