fix hostname setup