[Fix] incorrect host parsing