update getSNPS

fixed bugs