A little change on findNode function