some fix for osx
tree ptrc is raw