parseVar now throws if input is not a variable
Merge branch 'hotfix-parseVar-should-throw-if-nonvar'