correct output file seqNum