handle empty seqs