Fix host check.