fix cannot login