added missing var
Fix for issue #1