fixing problem with RBTree: could not create marker before any node was created