fix a bug in load_hosts.
fix a bug in load_hosts.

Signed-off-by: Daogang Tang <6435653d2db08e7863743a16df53ecbb301fb4b0@gmail.com>

daogangtang/monserver,daogangtang/monserver,daogangtang/monserver,daogangtang/monserver