fixing warning when name is not defined in presetVars array