clear nodes