repairs to domain change reset to correctly clear nodes