fixed mask in write.vcf