fix outputting dupe rows in s2index file