fix remote hostname