change private to protected

change private to protected right.