Fixed adding nodes