fix remote hosting