Added copy before access Patch from