fix deprecated variable_access
fix deprecated variable access also for name
Merge pull request #6 from kburwieck/master

fix-deprected-variable-access