solve login error