fix remotePath