by qianjun;fix tree bug