bug fixed : moving recursivly in tree