fixed walktree function
0.2.4