Fix random host usage