fixing warning when name is not defined in presetVars array
Merge pull request #75 from CakeDC/hotfix/undefined-name-in-presetVars

fixing warning when name is not defined in presetVars array