fixes exception when attempting to create vdm files