changed it so that refresh doesn't change top-level node