fix copy problem