add id2ptree arg to return relative path