base s filtered idseq, remove global  vars