Fix variables access
Merge pull request #1 from clementmartin/master

Fix variables access