forgot to set a variable for reverting the wholeNode