fix copy order