bugfix: scope was set only for first defined variable; the bug is quite new - version 2.2 is not affected