fixes for rangedtreemap