fix linkbtree