Fixes wrong access rights on private member