do not place a node if it is already there and change a few other things