delete all the other nodes