fix bug where ref or alt can be undefined in a VCF file