fix tree refresh error