remove remote path