hotfix in tree2pandas