fix copy path error