bugs with tree fixed