fix fattree bug