misc: modify the private members to protected