put host in right place