fixed null output of snp