Fix hostname variable