Fix host creation method