Fix use of protected variable, why wasn't that a compile time error?