fix the em-http host problem with weight.