more fixes on remotepath