fixed bug in SNP reading