fixed local copy problem