fix edit-copy error