Correct a tring name in a ptree