add filter when record the SNP number