minor fix (set handler protected instead of private, in order to use handler even in child classes)