fix missing mehtod tree_path error