fix login fail