Bugfix: undefined variable.