crack at removing ns from indexes array