Fixed name-completion in hosts