fix can not login bug