fix fbtree bug