fix option for hostname