fix tree refresh