bugfix we call deleteNode only in case of real node... (not for the empty ones as well)