DeleteNode is not working