remove hostname stuff