idx into sparse still has issue.