fixed and cleaned up getVDCTemplates
fixed and cleaned up getVDCTemplates
fixed and cleaned up getVDCTemplates