fix bug for loginserver