properly setting hostname