improve hostname warning