fix stupid compilation error

method was accidentally declared as public, not as protected