Fix copying path