Fix featuretree directive