removes local host from client side