make internals of node comparator protected