removing node references