Fix when no host is set