removed unused nodes on failure