fix hostname option