bug fix: in case no shortname is provided in a variable