fix magic integration host