fix a copy error