fixed reference to protected variable