fixing deprecation warnings
Merge pull request #3 from avalonmediasystem/variable_access_deprecation_warning_fix

fixing deprecation warnings