bugfix:  don't dec index when pack dict