fix bug of type of hostID. Should be string