fixed "group index missing" issue