Fixed a useless node which is created under windows for trees