fix using hosted brain