fixed rootmap generation in ROOTR