set private properties to protected