bug: unfolding a node doesnt save state