correct a copy bug