fixed the removeNode