root node without stack was breaking hooks