fix edit copy bug