Fix join group failed bug