Another attempt to fix the bug delteNode (String name)