fix bug in the inizialization of the T tree