fix path tree and a typo