Fix variable name to hostname