fix access to protected property location