fixed relogin error.