fix remote path error