fix PR8102, a case where we'd copyValue from a value that we already