Bugfix for unset variable