host parsing fix