Fix setting hostname