fix access to protected property location
Merge pull request #1 from paradoxe/master

Fix access to protected property