solve bug for admin connection