fixed ptree issues with a submodule