clean before copy